home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / tex / tex31 / texsrc.lzh / COMMON.LZH / MAKEFILE < prev    next >
Text File  |  1991-01-13  |  547b  |  33 lines

  1. # This file makes routines that are used everywher.
  2.  
  3. SITEDIR=..
  4. CC=gcc
  5. OPT=-O -fstrength-reduce -fomit-frame-pointer -fcombine-regs
  6. CFLAGS=$(OPT) -I$(SITEDIR)
  7. LDFLAGS=$(OPT)
  8. SHELL=/bin/sh
  9.  
  10. .SUFFIXES:
  11. .SUFFIXES: .o .c
  12. .c.o:
  13.         $(CC) $(CFLAGS) -c $*.c
  14.  
  15. default: all
  16.  
  17. triptrap: all
  18. all: extra.o main.o
  19.  
  20. extra.o: extra.c extra.h $(SITEDIR)/site.h
  21.  
  22. main.o: main.c extra.h $(SITEDIR)/site.h
  23.  
  24. # We don't make `texmf.o', since the TeX and Metafont need to use
  25. # different names, hence they need different .o files.
  26.  
  27.  
  28. clean:
  29.     rm -f *.o
  30.  
  31. veryclean: clean
  32.